using EloBuddy.SDK.Menu.Values;
using ExorAIO.Utilities;

namespace ExorAIO.Champions.Caitlyn
{
    /// <summary>
    ///     The menu class.
    /// </summary>
    internal class Menus
    {
        /// <summary>
        ///     Initializes the menus.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            ///     Sets the menu for the Q.
            /// </summary>
            Vars.QMenu = Vars.Menu.AddSubMenu("使用 Q:");
            {
                Vars.QMenu.Add("combo", new CheckBox("连招", true));
                Vars.QMenu.Add("logical", new CheckBox("自动", true));
                Vars.QMenu.Add("killsteal", new CheckBox("抢人头", true));
                Vars.QMenu.Add("clear", new Slider("清线 / 如果蓝量 >= x%", 50, 0, 101));

            }

            /// <summary>
            ///     Sets the menu for the W.
            /// </summary>
            Vars.WMenu = Vars.Menu.AddSubMenu("使用 W:");
            {
                Vars.WMenu.Add("combo", new CheckBox("连招", true));
                Vars.WMenu.Add("logical", new CheckBox("自动", true));
                Vars.WMenu.Add("gapcloser", new CheckBox("反突进", true));
                Vars.WMenu.Add("interrupter", new CheckBox("打断施法", true));
            }

            /// <summary>
            ///     Sets the menu for the E.
            /// </summary>
            Vars.EMenu = Vars.Menu.AddSubMenu("使用 E:");
            {
                Vars.EMenu.Add("combo", new CheckBox("连招", true));
                Vars.EMenu.Add("gapcloser", new CheckBox("反突进", true));
                Vars.EMenu.Add("interrupter", new CheckBox("打断施法", true));
            }

            /// <summary>
            ///     Sets the menu for the R.
            /// </summary>
            Vars.RMenu = Vars.Menu.AddSubMenu("使用 R:");
            {
                Vars.RMenu.Add("killsteal", new CheckBox("抢人头", true));
                Vars.RMenu.AddSeparator();
                Vars.RMenu.AddLabel("这是 半-自动 R 将自动大招低血量的敌方前提敌方在视野中.");
                Vars.RMenu.Add("bool", new CheckBox("半自动 R", true));
                Vars.RMenu.Add("key", new KeyBind("按键 (半-自动) : ", false, KeyBind.BindTypes.HoldActive, 'T'));
            }

            /// <summary>
            ///     Sets the menu for the drawings.
            /// </summary>
            Vars.DrawingsMenu = Vars.Menu.AddSubMenu("线圈");
            {
                Vars.DrawingsMenu.Add("q", new CheckBox("Q 范围"));
                Vars.DrawingsMenu.Add("w", new CheckBox("W 范围"));
                Vars.DrawingsMenu.Add("e", new CheckBox("E 范围"));
                Vars.DrawingsMenu.Add("r", new CheckBox("R 范围"));
            }
        }
    }
}